package cn.wolfcode.repsitory;

import cn.wolfcode.domain.StrategyCatalog;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description: 目的地持久化接口
 * @Author: 伍家钰
 * @Date: 2020/8/7 16:25
 * @Version: 1.0
 */
@Repository
public interface StrategyCatalogRepsitory extends MongoRepository<StrategyCatalog, String> {
    /**
     * 根据目的地id查询
     *
     * @param id
     * @return
     */
    List<StrategyCatalog> findByDestId(String id);
}
